package com.quan.weixin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.quan.common.core.BaseService;
import com.quan.weixin.entity.WeixinQrCode;
import com.quan.weixin.mapper.WeixinQrCodeMapper;
import com.quan.weixin.service.WeixinQrCodeService;

@Service
public class WeixinQrCodeServiceImpl extends BaseService<WeixinQrCode> implements WeixinQrCodeService {

	@Autowired
	private WeixinQrCodeMapper mapper ;
	
	@Override
	public void deleteByExpire() {
		this.mapper.deleteByExpire();
	}

	@Override
	public WeixinQrCode getQrCodeBySceneValue(WeixinQrCode entity) {
		return this.mapper.getQrCodeBySceneValue(entity);
	}

}
